<div class="changepass">
<h3>Change Password</h3>
<?php echo validation_errors(); ?>
<?php echo form_open('theloai/changepass'); ?>
<p>
<label>Old Password</label>
<input  type="password" name="oldpass" id="oldpass" />
</p>
<p>
<label>New Password</label>
<input  type="password" name="newpass" id="newpass" />
<label>Confirm Password</label>
<input  type="password" name="cfpass" id="cfpass" />
</p>
<input type="submit" value="OK" />
</div>